<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>月经恢复情况</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/page/weixin/questionnaire.css" />

<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/page/weixin/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/page/weixin/questionnaire/questionnaire.js"></script>
</head>
<body>
<div data-role="page" class="page_questionnaire" id="page_questionnaire">
<form id="frmqa" method="post" enctype="multipart/form-data">
<input type="hidden" name="openId" value="${openId}">
<input type="hidden" id="batchNo" name="batchNo" value="${batchNo }">
<input type="hidden" name="questionnaireId" value="49">
<div data-role="page" id="questionnaire49">
流产后出血时间？<br/>
<input id="question_93_1_181" name="question_93_1" type="radio" value="181">1-10天<br/>
<input id="question_93_1_182" name="question_93_1" type="radio" value="182">11-30天<br/>
<br/>
月经是否恢复？<br/>
<input id="question_94_1_183" name="question_94_1" type="radio" value="183">是<br/>
<input id="question_94_1_184" name="question_94_1" type="radio" value="184">否<br/>
</div>
<br/>
<div align="center">
	<a class="ui-btn ui-shadow ui-btn-corner-all" href="javascript:void(0)" onclick="submitFrm()" >
		<span class="ui-btn-inner">
			<span class="ui-btn-text">提交</span>
		</span>
	</a>
</div>
</form>
</div>
<div data-role="page" id="question_diagnosis">
	<div data-role="content" id="question_diagnosis_content">
		
	</div>
</div>
<script type="text/javascript">
wx.config({
    debug: false, 
    appId: '${appId}', 
    timestamp: '${timestamp}', 
    nonceStr: '${nonceStr}', 
    signature: '${signature}',
    jsApiList: ['closeWindow'] 
});

wx.ready(function(){
	
});

wx.error(function(res){
	
});

//检查表单
function checkQuestionnaireFrm()
{
	var question_93_val=$("input[name='question_93_1']:checked").val();
	if(null==question_93_val||""==question_93_val||undefined==question_93_val)
	{
		alert("请选择流产后出血时间");
		return false;
	}
	
	var question_94_val=$("input[name='question_94_1']:checked").val();
	if(null==question_94_val||""==question_94_val||undefined==question_94_val)
	{
		alert("请选择月经是否恢复");
		return false;
	}
	
	return true;
}

</script>
</body>
</html>